package com.rjwh.dingdong.client.mvp.view;

import com.rjwh.dingdong.client.bean.localbean.RadioPageAlbumData;
import com.rjwh.dingdong.client.bean.localbean.RadioPageBannerData;
import com.rjwh.dingdong.client.bean.localbean.RadioPageMenuData;
import com.rjwh.dingdong.client.bean.localbean.RadioPageModuleData;
import com.rjwh.dingdong.client.mvp.MvpView;
import com.rjwh.dingdong.client.player.PlayState;
import com.rjwh.dingdong.client.service.PlaybackService;

import java.util.List;

/**
 * @author Kay
 * @ClassName RadioPageView
 * @Description
 * @date 2016-10-27
 * @history 2016-10-27 author: description:
 */

public interface RadioPageView extends MvpView{
    void showLoadingView();

    void hideLoadingView();

    void showErrorView();

    void hideErrorView();

    void LoadData(List<RadioPageBannerData> bannerlist, List<RadioPageMenuData> menulist, List<RadioPageModuleData> modulelist, List<RadioPageAlbumData> recommendlist, String modulename, String actionurl);

    void setRefreshing(boolean isRefresh);

    //绑定Service
    void onPlaybackServiceBound(PlaybackService service);

    //接触绑定Service
    void onPlaybackServiceUnbound();

    //更新播放状态
    void updatePlayToggle(PlayState play);
}
